home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wzcommon / wizard.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-01  |  5.5 KB  |  121 lines

  1. #define C_DEBUG .F.
  2.  
  3. #define C_VERS3B_LOC        "The Wizards require Visual FoxPro 3.0b or higher."
  4. #define C_BUILD3B            690       && minimum 3.0b build to check for
  5.  
  6. #define DEFAULTTITLE_LOC    "Microsoft Visual FoxPro Wizards"
  7.  
  8. #define NODISABLE_LOC        "The current step cannot be disabled."
  9.  
  10. #define NOPROCESS_LOC        "No process defined."
  11.  
  12. #define MESSAGE_LOC            "Microsoft Visual FoxPro Wizards"
  13.  
  14. #define ERRORTITLE_LOC        "Microsoft Visual FoxPro Wizards"
  15.  
  16. #define ERRORMESSAGE_LOC ;
  17.     "Error #" + alltrim(str(m.nError)) + " in " + m.cMethod + ;
  18.     " (" + alltrim(str(m.nLine)) + "): " + m.cMessage
  19.  
  20. * The result of the above message will look like this:
  21. *
  22. *        Error #1 in WIZTEMPLATE.INIT (14): File does not exist.
  23.  
  24. #define MB_ICONEXCLAMATION        48
  25. #define MB_ABORTRETRYIGNORE        2
  26. #define MB_OK                    0
  27. #DEFINE MB_YESNO                4       && Yes and No buttons
  28. #DEFINE IDYES                   6       && Yes button pressed
  29.  
  30. #define THERMCOMPLETE_LOC    "Complete."
  31.  
  32. #DEFINE NUM_AFIELDS  16                   && number of columns in AFIELDS array
  33. #DEFINE DT_MEMO      "M"
  34. #DEFINE DT_GENERAL  "G"
  35.  
  36. * The following string is used to form a message when
  37. * _LOGFILE cannot be created or opened. The message will
  38. * look like one of these two examples:
  39. *
  40. *    FCREATE("test1.log") failed. Event logging disabled.
  41. *    FOPEN("test1.log", 2) failed. Event logging disabled.
  42.  
  43. #define LOGFILEERROR_LOC    " failed. Event logging disabled."
  44.  
  45. #DEFINE C_MAXFIELDS_LOC "The maximum number of fields to sort by is "
  46.  
  47. #DEFINE C_FREETABLE_LOC    "Free Tables"
  48.  
  49. #DEFINE BMP_LOCAL        "dblview.bmp"
  50. #DEFINE BMP_REMOTE        "dbrview.bmp"
  51. #DEFINE BMP_TABLE        "dbtable.bmp"
  52.  
  53. #DEFINE C_READONLY_LOC        "File is read-only and not allowed by this wizard/builder. Please select another."
  54. #DEFINE C_READ2_LOC            "File is used exclusively by another."
  55.  
  56. #DEFINE E_BADDBCTABLE_LOC    "The table selected does not have a valid backlink to its DBC. "+;
  57.                             "You can fix this with the VALIDATE DATABASE RECOVER command."
  58.  
  59. #DEFINE C_TPROMPT_LOC        "Select file to open:"
  60. #DEFINE C_READ3_LOC            "File is in use by Wizard. Select another."
  61. #DEFINE C_READ4_LOC            "The DBF is part of a DBC. Select table from DBC container."
  62.  
  63. #define C_NORUNTIME_LOC ;
  64.     "Microsoft Visual FoxPro Wizards require the Standard or Professional version."
  65.  
  66. #define C_BADALIAS_LOC 'An alias in the list "THIS, THISFORM, THISFORMSET, OWIZARD, OENGINE" is ' + ;
  67.     'in use. These aliases conflict with the wizards. Close the file(s) and continue?'
  68.  
  69. #define ALERTTITLE_LOC        "Microsoft Visual FoxPro Wizards"
  70.  
  71. #define C_WINONLY_LOC     "The Wizards require Visual FoxPro for Windows or Visual FoxPro for Macintosh."
  72.  
  73. * This message is displayed if the user enters the name of a file 
  74. * that does not exist in WizEngine.WizLocFile()
  75. #define E_FILENOTFOUND_LOC "File not found."
  76.  
  77.  
  78. * These are the countries and regions to enable DBCS:  Japan, Korea, PRC, Taiwan
  79. #DEFINE DBCS_LOC "81 82 86 88"
  80.  
  81. *- these are the problem characters, Mac-style
  82. #DEFINE C_BADCHARS_MAC CHR(129) + CHR(130) + CHR(131) + CHR(132) + CHR(133) + CHR(134) + CHR(135) + CHR(136) + ;
  83.     CHR(137) + CHR(138) + CHR(139) + CHR(140) + CHR(142) + CHR(143) + CHR(144) + CHR(145) + ;
  84.     CHR(146) + CHR(147) + CHR(148) + CHR(149) + CHR(150) + CHR(151) + CHR(152) + CHR(153) + ;
  85.     CHR(154) + CHR(160) + CHR(161) + CHR(162) + CHR(163) + CHR(164) + CHR(165) + CHR(47) + ;
  86.     CHR(92) + CHR(44) + CHR(45) + CHR(61) + CHR(58) + CHR(59) + CHR(123) + CHR(125) + ;
  87.     CHR(91) + CHR(93) + CHR(33) + CHR(64) + CHR(35) + CHR(36) + CHR(37) + CHR(94) + ;
  88.     CHR(38) + CHR(42) + CHR(46) + CHR(60) + CHR(62) + CHR(40) + CHR(41) + CHR(63) + ;
  89.     CHR(43) + CHR(124) + CHR(128) + CHR(155) + CHR(156) + CHR(157) + CHR(158) + CHR(159) + ;
  90.     CHR(166) + CHR(167) + CHR(168) + CHR(169) + CHR(170) + CHR(171) + CHR(172) + CHR(173) + ;
  91.     CHR(174) + CHR(175) + CHR(176) + CHR(177) + CHR(178) + CHR(179) + CHR(180) + CHR(181) + ;
  92.     CHR(182) + CHR(183) + CHR(184) + CHR(185) + CHR(186) + CHR(187) + CHR(188) + CHR(189) + ;
  93.     CHR(190) + CHR(191) + CHR(192) + CHR(193) + CHR(194) + CHR(195) + CHR(196) + CHR(197) + ;
  94.     CHR(198) + CHR(199) + CHR(200) + CHR(201) + CHR(202) + CHR(203) + CHR(204) + CHR(205) + ;
  95.     CHR(206) + CHR(207) + CHR(208) + CHR(209) + CHR(210) + CHR(211) + CHR(212) + CHR(213) + ;
  96.     CHR(214) + CHR(215) + CHR(216) + CHR(217) + CHR(218) + CHR(219) + CHR(220) + CHR(221) + ;
  97.     CHR(222) + CHR(223) + CHR(224) + CHR(225) + CHR(226) + CHR(227) + CHR(228) + CHR(229) + ;
  98.     CHR(230) + CHR(231) + CHR(232) + CHR(233) + CHR(234) + CHR(235) + CHR(236) + CHR(237) + ;
  99.     CHR(238) + CHR(239) + CHR(240) + CHR(241) + CHR(242) + CHR(243) + CHR(244) + CHR(245) + ;
  100.     CHR(246) + CHR(247) + CHR(248) + CHR(249) + CHR(250) + CHR(251) + CHR(252) + CHR(253) + ;
  101.     CHR(254) + CHR(34) + CHR(39) + CHR(32)
  102.  
  103.  
  104. *- for setting FoxTools in Wizards
  105. #DEFINE EN_FOXTOOLS_LOC        "The Setup Wizard requires "
  106. #DEFINE EN_FXTVER_LOC        "This Wizard requires version 3.00 or higher of "
  107. #DEFINE C_WINLIBRARY        "FT3.DLL"                            && latest version of foxtools.fll
  108. #DEFINE C_MACPPCLIBRARY        "FXTOOL30.CFM"                        && latest version of foxtools (code fragment version)
  109. #DEFINE C_MAC68KLIBRARY        "FXTOOL30.ASLM"                        && latest version of foxtools (shared library manager version)
  110.  
  111. #DEFINE C_MACPPC_TAG_LOC    "POWER MAC"                            && in the VERS(1) return string
  112.  
  113. #DEFINE C_NOTAG_LOC         "You cannot combine index tags and fields."
  114. #DEFINE TAGDELIM     " *"
  115.  
  116. * Registry strings for looking up scrollbox color
  117. #DEFINE HKEY_CURRENT_USER           -2147483647  && BITSET(0,31)+1
  118. #DEFINE CONTROL_KEY                    "Control Panel\Colors"
  119. #DEFINE SCROLLBAR_KEY                "Scrollbar"
  120. #DEFINE SHADOW_KEY                    "ButtonShadow"
  121.